home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 7544 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.2 KB

  1. Path: news.uni-stuttgart.de!schweikh
  2. From: schweikh@itosun.ito.uni-stuttgart.de (Jens Schweikhardt)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Schildt <- Advanced Books
  5. Date: 27 Feb 1996 11:04:38 GMT
  6. Organization: Comp.Center (RUS), U of Stuttgart, FRG
  7. Message-ID: <4guog6$45na@info4.rus.uni-stuttgart.de>
  8. References: <8BA8405.02C70020DE.uuout@sourcebbs.com> <4g20q6$lro@redstone.interpath.net> <danpop.824685808@rscernix> <bnelsonDnFG3r.Ks6@netcom.com>
  9. NNTP-Posting-Host: itosun.ito.uni-stuttgart.de
  10.  
  11. In article <bnelsonDnFG3r.Ks6@netcom.com>,
  12. Bob Nelson <bnelson@netcom.com> wrote:
  13. >On 18 Feb 96 23:23:28 GMT, Dan Pop wrote:
  14. >>> In softbase@mercury.interpath.net (Scott McMahan) writes:
  15. >
  16. >>> >Where does Herb Schildt get his nutty ideas about "void main()"?
  17. >
  18. >>> Obvious answer: from his thick skull.
  19. >
  20. >Though not as likely as the answer offered above, he may have also been
  21. >influenced by an organization that favors the void main() approach:
  22. >The Free Software Foundation of Cambridge, MA. Most of their utilities
  23. >consistently declare main in this non-standard manner. It's rather
  24. >surprising that Stallman allows this form of ignorance to bear the GNU
  25. >banner. 
  26.  
  27. And that's not all there is to it. From the GNU Coding Standards:
  28.  
  29.    It remains necessary to worry about differences among cpu types, such
  30.    as the difference in byte ordering and alignment restrictions.  It's
  31.    unlikely that 16-bit machines will ever be supported by GNU, so there
  32.    is no point in spending any time to consider the possibility that an
  33.    `int' will be less than 32 bits.
  34.  
  35.    You can assume that all pointers have the same format, regardless of
  36.    the type they point to, and that this is really an integer.  There are
  37.    some weird machines where this isn't true, but they aren't important;
  38.    don't waste time catering to them.  Besides, eventually we will put
  39.    function prototypes into all GNU programs, and that will probably make
  40.    your program work even on weird machines.
  41.  
  42. I can't believe it. The moderator of c.l.c.m has started a thread on this
  43. and asks C programmers to complain to gnu@prep.ai.mit.edu about it.
  44. I also posted my thoughts to gnu.misc.discuss. 
  45.  
  46. Time for a change, isn't it?
  47.  
  48. Bye, Jens
  49.  
  50. -- 
  51. SIGSIG -- signature too long (core dumped)
  52.